﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeAnalyzer.Engine
{
    public class File
    {
        public string Name
        {
            get;
            set;
        }
        public string Extension
        {
            get;
            set;
        }
    }

    public class Command
    {
        public Command()
        {
            Children = new List<Command>();
        }

        public List<Command> Children
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }
        public string Type
        {
            get;
            set;
        }

        public double Complexity
        {
            get;
            set;
        }

        public string Syntax
        {
            get;
            set;
        }

        public string OpenCommand
        {
            get;
            set;
        }

        public string CloseCommand
        {
            get;
            set;
        }

        public bool HasOpenCommand
        {
            get;
            set;
        }

        public int CommandLineCount
        {
            get;
            set;
        }

        public int Level
        {
            get;
            set;
        }
    }
}
